//
//  LabelManager.h
//  Pennyworth
//
//  Created by Chris Karr on 4/1/08.
//  Copyright 2008 Chris J. Karr. All rights reserved.
//

#import <Cocoa/Cocoa.h>

#define DELETE_OPERATION @"Label Management: Delete"
#define RENAME_OPERATION @"Label Management: Rename"
#define LABEL_TYPE @"Label Management: Label Type"
#define OPERATION @"Label Management: Operation"
#define ORIGINAL_LABEL @"Label Management: Original Label"
#define NEW_LABEL @"Label Management: New Label"
#define LABEL_OPERATION @"Label Management: Operation"

@interface LabelManager : NSObject 
{
	NSString * selectedType;
	NSString * selectedLabel;
	NSString * newLabel;
	NSNumber * action;

	NSArray * currentLabels;
	
	NSArray * types;
	NSMutableDictionary * labels;

	IBOutlet NSButtonCell * deleteButton;
	IBOutlet NSButtonCell * renameButton;
}

@property(retain) NSArray * types;
@property(retain) NSArray * currentLabels;
@property(retain) NSMutableDictionary * labels;
@property(copy) NSString * selectedLabel;
@property(copy) NSString * selectedType;
@property(copy) NSString * newLabel;
@property(copy) NSNumber * action;

- (IBAction) doAction:(id) sender;

@end
